package cn.ilovese.collect.datamapper.report;

import cn.ilovese.collect.po.report.Like;
import org.apache.ibatis.annotations.Param;

public interface LikeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Like record);

    int insertSelective(Like record);

    Like selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Like record);

    int deleteByUserIdAndScoreId(@Param("uid")Integer uid, @Param("scoreId")Integer scoreId);

    int updateByPrimaryKey(Like record);

    int countByScoreId(Integer scoreId);

    Like selectByScoreIdAndUserId( @Param("scoreId")Integer scoreId,@Param("uid")Integer uid);
}